def add(a, b):
    return a + b
def substract(a, b):
    return a - b
def multiply(a, b):
    return a * b
def divide(a, b):
    if b == 0:
        return 'Divide by zero'
    else:
        return a / b
def floorDivide(a, b):
    if b == 0:
        return 'Divide by zero'
    else:
        return a // b
def power(a, b):
    result = 1
    for i in range(b):
        result *= a
    return result
if __name__=='__main__' :
    m = eval(input())
    sign = input()
    n = eval(input())
    if sign == '+':
        print(add(m, n))
    elif sign == '-':
        print(substract(m, n))
    elif sign == '*':
        print(multiply(m, n))
    elif sign == '/':
        print(divide(m, n))
    elif sign == '//':
        print(floorDivide(m, n))
    elif sign == '**':
        print(power(m, n))
    else:
        print("运算符号只能是'+','-','*','/','//','**'之一")